package com.day0422.SellCar;/*
 * @创建者：黄苟苟
 * @创建时间：2021/4/23   16:06
 * @Description描述
 **/

public class MainTest {
    public static void main(String[] args) {
        CarShop carShop=new CarShop();
        carShop.sellCar(new BMW());
        carShop.sellCar(new CheryQQ());
        carShop.sellCar(new Santana());
        System.out.println("总收入："+carShop.getMoney());
    }
}
